package com.it.orderseata.pojo;

import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
//数据库表字段不对，可以用JSR303，这里我不做演示了
public class Order {
    private Integer id;

    private Integer productId;

    private Integer totalAmount;

    private Integer status;


}